package database;

/**
 * @author aioros
 * 
 * Identify the release in the JXTable
 */
public class ReleaseIdentifier {

	
	/*-------------------- Fields ------------------------*/
	
	private String packageName;
	
	private String packageID;
	
	private String branchID;
	
	private String releaseID;
	
	
	
	/*-------------------- Constructor ------------------------*/
	
	/**
	 * build a Release identifier
	 */
	public ReleaseIdentifier(String packageName, String packageID, String branchID, String releaseID){
		
		this.packageName = packageName;
		this.packageID = packageID;
		this.branchID = branchID;
		this.releaseID = releaseID;
	}
	
	
	
	/*-------------------- Methodes ------------------------*/
	
	
	public String getBranchID() {
		return branchID;
	}



	public void setBranchID(String branchID) {
		this.branchID = branchID;
	}



	public String getPackageID() {
		return packageID;
	}



	public void setPackageID(String packageID) {
		this.packageID = packageID;
	}



	public String getPackageName() {
		return packageName;
	}



	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}



	public String getReleaseID() {
		return releaseID;
	}



	public void setReleaseID(String releaseID) {
		this.releaseID = releaseID;
	}
	
	
	public String toString() {
		return packageName;
	}
}
